Door = class('Door', Feature)

function Door:initialize(x, y, open, locked)

	self.open = open
	self.locked = locked
	if open then
		Feature.initialize(self, "door", int_door_open_img, x, y)
	else
		Feature.initialize(self, "door", int_door_closed_img, x, y)
	end

end

function Door:open()
	if not self.locked then
		self.open = true
		self.image = int_door_open_img
	end

end

function Door:close()
	self.open = false
	self.image = int_door_closed_img
end

function Door:lock()
	self.locked = true
end

function Door:unlock()
	self.locked = false
end

function Door:use()



end

